#ifndef	_RVS_REPLACE_H_
#define	_RVS_REPLACE_H_

#define socket(domain, type, protocol)                      rvs_socket(domain, type, protocol)
#define close(fd)                                           rvs_close(fd)
#define bind(sockfd, my_addr, addrlen)                      rvs_bind(sockfd, my_addr, addrlen)
#define connect(sockfd, serv_addr, addrlen)                 rvs_connect(sockfd, serv_addr, addrlen)
#define listen(sockfd, backlog)                             rvs_listen(sockfd, backlog)
#define accept(sockfd, addr, addrlen)                       rvs_accept(sockfd, addr, addrlen)
#define sendto(s, buf, len, flags, to, tolen)               rvs_sendto(s, buf, len, flags, to, tolen)
#define recvfrom(s, buf, len, flags, from, fromlen)         rvs_recvfrom(s, buf, len, flags, from, fromlen)
#define send(s, buf, len, flags)                            rvs_send(s, buf, len, flags)
#define write(s, buf, len)                                  rvs_write(s, buf, len)
#define recv(s, buf, len, flags)                            rvs_recv(s, buf, len, flags)
#define read(s, buf, len)                                   rvs_read(s, buf, len)
#define setsockopt(s, level, optname, optval, optlen)       rvs_setsockopt(s, level, optname, optval, optlen)
#define getsockopt(s, level, optname, optval, optlen)       rvs_getsockopt(s, level, optname, optval, optlen)
#define getsockname(s, name, namelen)                       rvs_getsockname(s, name, namelen)
#define ioctl(s, request, argp)                             rvs_ioctl(s, request, argp)
#define fcntl(fd, cmd, ...)                                 rvs_fcntl(fd, cmd, ...)
#define select(nfds, readfds, writefds, exceptfds, timeout) rvs_select(nfds, readfds, writefds, exceptfds, timeout)
#define shutdown(s, how)                                    rvs_shutdown(s, how)

#endif /* _RVS_REPLACE_H_ */
